import http from "../http.js";

export function insert(params) {
  return http.post("/orderInfo/insert", params);
}

export function queryByPage(params) {
  return http.post("/orderInfo/queryByPage", params);
}

export function queryById(params) {
  return http.get("/orderInfo/queryById", params);
}

export function update(params) {
  return http.post("/orderInfo/update", params);
}
export function refund(params) {
  return http.post("/orderInfo/refund", params);
}
//下拉接口
export function queryByHospital(params) {
  return http.get("/hospitalInfo/queryByHospital", params);
}
